import React from 'react';

import CustomStyledIcon from './CustomStyledIcon';

const PayPal = ({ width = undefined, height = undefined, size = undefined, ...props }) => {
  return (
    <CustomStyledIcon
      width={size || width || 21}
      height={height || size || 24}
      viewBox="0 0 21 24"
      fill="none"
      {...props}
      color="blue"
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M18.5384 6.09749C18.8345 4.23054 18.5364 2.96019 17.515 1.80957C16.3906 0.542724 14.3592 0 11.7602 0H4.2158C3.68455 0 3.23226 0.382151 3.14949 0.900957L0.0080496 20.5971C-0.053923 20.9857 0.249824 21.337 0.647754 21.337H5.30521L4.9838 23.3526C4.92957 23.6926 5.19527 24 5.54346 24H9.4692C9.93386 24 10.3295 23.6657 10.4019 23.2119L10.4404 23.0147L11.18 18.3779L11.2277 18.1217C11.3 17.6679 11.6956 17.3336 12.1603 17.3336H12.7476C16.5508 17.3336 19.5287 15.8058 20.3989 11.3877C20.7625 9.54141 20.5745 8.00045 19.613 6.91715C19.3222 6.58942 18.9604 6.31853 18.5384 6.09749Z"
        fill="#E0E4EB"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M18.7472 6.12364C19.0466 4.24868 18.7451 2.97289 17.7123 1.81734C16.5751 0.545053 14.5209 0 11.8926 0H4.26327C3.72604 0 3.26865 0.38379 3.18496 0.904822L0.00814024 20.6854C-0.0545302 21.0757 0.252638 21.4286 0.655048 21.4286H5.36495L6.54813 14.0621L6.51144 14.293C6.59514 13.7721 7.04867 13.3883 7.58577 13.3883H9.82432C14.2207 13.3883 17.6632 11.6345 18.6691 6.56236C18.6989 6.41216 18.7243 6.26669 18.7472 6.12364Z"
        fill="#C4C9D1"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M7.81914 6.14861C7.86944 5.83513 8.07422 5.57859 8.35005 5.44877C8.47539 5.3898 8.61544 5.35701 8.76235 5.35701H14.7427C15.4512 5.35701 16.1117 5.40248 16.7157 5.49803C16.8884 5.52529 17.0563 5.55673 17.2194 5.59222C17.3826 5.62785 17.5409 5.66752 17.6943 5.71165C17.771 5.73351 17.8463 5.75659 17.9205 5.78074C18.2169 5.8775 18.493 5.99153 18.7472 6.12364C19.0466 4.24868 18.7451 2.97289 17.7123 1.81734C16.5751 0.545053 14.5209 0 11.8926 0H4.26327C3.72604 0 3.26865 0.38379 3.18496 0.904822L0.00814024 20.6854C-0.0545302 21.0757 0.252638 21.4286 0.655048 21.4286H5.36495L7.81914 6.14861Z"
        fill="#CFD2D7"
      />
    </CustomStyledIcon>
  );
};

export default PayPal;
